package com.ruanyun.modular.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 主要原辅料
 * </p>
 *
 * @author zs
 * @since 2021-04-16
 */
@TableName("t_basic_material")
public class TBasicMaterial implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 企业id
     */
    @TableField("company_id")
    private Integer companyId;

    /**
     * 名称
     */
    @TableField("material_name")
    private String materialName;

    /**
     * 最大使用量
     */
    @TableField("maximum_usage")
    private String maximumUsage;

    /**
     * 2020年使用量
     */
    @TableField("m_usage")
    private String mUsage;

    /**
     * 成分
     */
    @TableField("ingredient")
    private String ingredient;

    /**
     * 占比
     */
    @TableField("percentage")
    private String percentage;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @TableField("del_flag")
    private Integer delFlag;

    // 涉VOCs原辅料MSDS
    @TableField("msds")
    private String msds;

    // 年份
    @TableField("yearss")
    private String yearss;

    // 第一季度
    @TableField("first_season")
    private String firstSeason;

    // 第二季度
    @TableField("second_season")
    private String secondSeason;

    // 第三季度
    @TableField("third_season")
    private String thirdSeason;


    // 第四季度
    @TableField("fourth_season")
    private String fourthSeason;

    public String getYearss() {
        return yearss;
    }

    public void setYearss(String yearss) {
        this.yearss = yearss;
    }

    public String getFirstSeason() {
        return firstSeason;
    }

    public void setFirstSeason(String firstSeason) {
        this.firstSeason = firstSeason;
    }

    public String getSecondSeason() {
        return secondSeason;
    }

    public void setSecondSeason(String secondSeason) {
        this.secondSeason = secondSeason;
    }

    public String getThirdSeason() {
        return thirdSeason;
    }

    public void setThirdSeason(String thirdSeason) {
        this.thirdSeason = thirdSeason;
    }

    public String getFourthSeason() {
        return fourthSeason;
    }

    public void setFourthSeason(String fourthSeason) {
        this.fourthSeason = fourthSeason;
    }










    public Integer getId() {
        return id;
    }

    public String getMsds() {
        return msds;
    }

    public void setMsds(String msds) {
        this.msds = msds;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getMaximumUsage() {
        return maximumUsage;
    }

    public void setMaximumUsage(String maximumUsage) {
        this.maximumUsage = maximumUsage;
    }



    public String getIngredient() {
        return ingredient;
    }

    public void setIngredient(String ingredient) {
        this.ingredient = ingredient;
    }

    public String getPercentage() {
        return percentage;
    }

    public void setPercentage(String percentage) {
        this.percentage = percentage;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }



    public String getmUsage() {
        return mUsage;
    }

    public void setmUsage(String mUsage) {
        this.mUsage = mUsage;
    }

    @Override
    public String toString() {
        return "TBasicMaterial{" +
        "id=" + id +
        ", companyId=" + companyId +
        ", materialName=" + materialName +
        ", maximumUsage=" + maximumUsage +
                ", mUsage=" + mUsage +
        ", ingredient=" + ingredient +
        ", percentage=" + percentage +
        ", createTime=" + createTime +
        ", delFlag=" + delFlag +
                ", msds=" + msds +
                ", yearss=" + yearss    +
                ", firstSeason =" + firstSeason  +
                ", secondSeason =" + secondSeason  +
                ", thirdSeason =" + thirdSeason  +
                ", fourthSeason=" + fourthSeason +
        "}";
    }
}
